<body> 
    <input type="hidden" id="offset-value" value=<?php echo count($dig_feeds); ?>>
    <div id="header">
        <img class="community-img" src="<?php echo base_url().'assets/themes/pinoytuner/images/communities_dig-u359.png';?>" height="160" width="160" /> 
        Digradio Deck
    
        <a target=""  style="margin-left:50px; position:absolute;" href="#"  onclick = "window.open('<?php echo base_url().'player/load_player/digradio'; ?>','Player','directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=600,height=600,left='+(screen.availWidth/2-350)+',top='+(screen.availHeight/2-250)+'');return false;" >
						<img src="<?php echo base_url().'assets/themes/digradio/images/dig-social_playme.png';?>" id="ply" />
        </a>
    </div>
    <div id="feed-content">
        <?php foreach($dig_feeds as $feed): ?>
            <div class="feed-image pull-left">
                <img src="<?php echo IMAGE_UPLOAD_DIR.'thumbnail/'.$feed['strPicture']; ?>">
            </div>
            <h4>
                <a target="_blank" href="<?php echo base_url().'digradio/index/'. urlencode(base64_encode(base_url().'digradio/content/'.get_type_name($feed['fk-tb_mas_content_types']).'/'.$feed['intID'].'/'.simplify_title($feed['strTitle']))); ?>">
                <?php echo $feed['strTitle']; ?>
                </a>
                </h4><hr class="clear" />
        <?php endforeach; ?>
    </div>
    <a href="#" class="btn btn-danger" id="load-more">Load More</a>